<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="onein" uri="http://www.onein.cn/jsp/taglib"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>万应教育 | 您身边的儿童教育专家</title>
<jsp:include page="/WEB-INF/inc/meta.jsp"/>
<link href='<onein:url value="/styles/all.css"/>' type="text/css" rel="stylesheet" />
<link type="text/css" rel="stylesheet" href="<onein:url value="/styles/user_new.css"/>"/>
<link rel="stylesheet" type="text/css" href="<onein:url value="/styles/kwicks/main.css"/>" />
<link rel="stylesheet" type="text/css" href="<onein:url value="/styles/menu/animated-menu.css"/>" />

<script src="<onein:url value="/scripts/jquery.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/jquery-lib/jquery.easing.1.3.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/jquery-lib/jquery.kwicks-1.5.1.pack.js"/>" type="text/javascript"></script>
<script type="text/javascript">
   $().ready(function() {
	   //Top show
       $("#topshow .kwicks").kwicks({
           max: 247,
           spacing: 5,
           duration: 1500,
           easing: 'easeOutBounce'
       });
       
       // menu
       //Remove outline from links
       $("#menu a").click(function(){
           $(this).blur();
       });
       
       //When mouse rolls over
       $("#menu li").mouseover(function(){
           $(this).stop().animate({height:'150px'},{queue:false, duration:600, easing: 'easeOutBounce'})
       });
       
       //When mouse is removed
       $("#menu li").mouseout(function(){
           $(this).stop().animate({height:'50px'},{queue:false, duration:600, easing: 'easeOutBounce'})
       });
   });
   
   function login(){    
	    if($("#userName").val() == ""){
	        return false;
	    }
	    if($("#password").val() == ""){
	        return false;
	    }
	    
	    return true;
   }
   
   function register(){
	   window.location = '<onein:url value="/register"/>';
   }
   
</script>
</head>
<body>
   <div id="page_reg">
       <div class="reg_top_n clear">                   
        <a href="<onein:url value="/" />" title="万应教育">
          <img src="<onein:url value="/images/new/logo.jpg"/>"/>
        </a>
        <span class="reg_text_n" style="font-size:24px;">您身边的儿童教育专家</span>
        <div class="reg_top_n_r" style="padding-top:20px;">
            <label>
                <a href="<onein:url value="/login" />">用户登录</a> | <a href="<onein:url value="/register" />">注册账号</a>
            </label>
        </div>
       </div>
       <div class="blank"></div>
       <div class="reg_con_n_2" style="height:555px;padding:0px;">
         <div class="l_yh" style="width:632px;float:left;">
          <div class="login_yh_n" style="padding:80px 0px 80px 60px;width:542px;">
            <div id="topshow" style="border:1px solid #EEE;width:542px;height:187px;">
		       <ul class="kwicks">
		           <li id="kwick_1" style="border:0px solid #AAA;"></li>
		           <li id="kwick_2" style="border:0px solid #AAA;"></li>
		           <li id="kwick_3" style="border:0px solid #AAA;"></li>
		           <li id="kwick_4" style="border:0px solid #AAA;"></li>
		       </ul>
		    </div>
            <div style="clear:both;"></div><br/><br/><br/>
            <div id="menu" style="margin-left:23px;">
		       <ul style="font-family:'黑体';">
		            <li class="green">
		                <p><a href="<onein:url value="/center"/>">行动指南</a></p>
		                <p class="subtext">每天一刻钟，教育孩子真轻松。</p>
		            </li>
		            <li class="yellow">
		                <p><a href="<onein:url value="/promotion"/>">精选指南</a></p>
                        <p class="subtext">精选的行动指南，体会每日行动指南的美丽！</p>
		            </li>
		            <li class="red">
		                <p><a href="<onein:url value="/learn"/>">育儿百科</a></p>
                        <p class="subtext">育儿早知道，尽在万应育儿百科。</p>
		            </li>
		            <li class="blue">
		                <p><a href="<onein:url value="/team"/>">专家团队</a></p>
                        <p class="subtext">阳光视界，我们的专业后盾。</p>
		            </li>
		            <li class="purple">
		                <p><a href="<onein:url value="/help"/>">帮助中心</a></p>
                        <p class="subtext">您好，请问有什么需要帮忙的吗？</p>
		            </li>
		        </ul>
		     </div>
		   </div>		   
         </div>
         
         <div class="r_yh" style="width:280px;float:right;text-align:left;margin-top:100px;">
              <form id="loginForm" action="<onein:url value="/login" />" method="post">
              <input type="hidden" name="action" value="login"/>
              <p class="f20px color_n cu">快速登录</p><br/>
              <label style="font-size:14px;line-height:26px;">邮箱/用户名:</label><br/>
              <input style="width:150px;" tabindex="1"  class="Warning" name="userName" id="userName" type="text" value="${userName}" maxlength="50"/><br/>

              <label style="font-size:14px;line-height:26px;">登录密码:</label><br/>
              <input style="width:150px;" tabindex="2" name="password" id="password" type="password" class="Warning" maxlength="50"/>
              <a title="快速找回密码" href="<onein:url value="/forgetPaassword" />">忘记密码？</a><br/><br/>
              <input tabindex="3" name="savepassword" type="checkbox" value="true" checked="checked"/>
              <span>记住登录</span><br/>              
              <div style="margin:20px 0px 0px 0px;">
                 <input title="登录万应教育" style="display:inline;" tabindex="4" onclick="javascript:return login();" name="loginBt" class="reg_but_n3" value="" type="submit"/>
                 <input title="注册万应账号" style="display:inline;margin-left:10px;" tabindex="5" onclick="javascript:register();" name="regBt" class="reg_but_nn" value="" type="button"/>
              </div>
              </form>
        </div>
        </div>        
        <jsp:include page="/WEB-INF/inc/footer.jsp"/>
    </div>
</body>
</html>
